package org.dromara.manu.domain.vo;

import org.dromara.manu.domain.ManuMaterialCharaRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 物料特征值视图对象 manu_material_chara_record
 *
 * @author Bin Liu
 * @date 2024-11-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ManuMaterialCharaRecord.class)
public class ManuMaterialCharaRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 物料id
     */
    @ExcelProperty(value = "物料id")
    private Long materialId;

    /**
     * 特征模板id
     */
    @ExcelProperty(value = "特征模板id")
    private Long tempId;

    /**
     * 数字型结果
     */
    @ExcelProperty(value = "数字型结果")
    private Double dataFloat;

    /**
     * 附件型结果
     */
    @ExcelProperty(value = "附件型结果")
    private Long dataFile;

    /**
     * 布尔型结果
     */
    @ExcelProperty(value = "布尔型结果", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private Boolean dataBoolean;

    /**
     * 字符串型结果
     */
    @ExcelProperty(value = "字符串型结果")
    private String dataString;


}
